package org.chench.extra.logsift.bo;

import java.nio.file.Path;
import java.util.List;
import java.util.regex.Pattern;

/**
 * 路径模式
 * @author chench
 * @date 2025.05.17
 */
public class PathPattern {
    final Path path;
    final List<Pattern> patterns;

    public PathPattern(Path path, List<Pattern> patterns) {
        this.path = path;
        this.patterns = patterns;
    }

    public Path getPath() {
        return path;
    }

    public List<Pattern> getPatterns() {
        return patterns;
    }
}